package com.wcsy.myblog.service.serviceImpl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wcsy.myblog.dao.ImgMapper;
import com.wcsy.myblog.entity.Img;
import com.wcsy.myblog.service.IImgService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ImgServiceImpl extends ServiceImpl<ImgMapper,Img> implements IImgService {
    @Autowired
    ImgMapper imgMapper;
    @Override
    public void insertImg(String img) {
        imgMapper.insertImg(img);
    }
}
